package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * @Author god_97
 * @Date 2020/3/7 14:25
 * @Version 1.0
 */
public interface PermissionService {
    PageResult findByPage(QueryPageBean queryPageBean);

    Permission findById(Integer id);


    void add(Permission permission);


    void edit(Permission permission);


    void delById(Integer id);

    List<Permission> findAll();
}
